package com.ctgu.server.service;

import com.ctgu.server.dao.dto.FormUserDto;
import com.ctgu.server.dao.dto.FromDto;
import com.ctgu.server.dao.entity.Form;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.server.dao.vo.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ctgu
 * @since 2023-05-17
 */
public interface FormService extends IService<Form> {

    Result getUserFormList(String id);

    Result createForm(FromDto fromDto);

    Result deleteForm(String userId, Long formId);

    Result userApplyForm(FormUserDto formUserDto);

    Result getUserCrateList(String userId);

//    Result getUserApplyList(String userId);
}
